package Demo;

public class Test {
    public static void main(String[] args) {
        Animal animal = new dog();
        animal.cry();
        animal.setName("我问问");
        System.out.println(animal.getAnimalName());
    }
}
